<div class="more-toolbar materials" ng-click="$event.stopPropagation();" ng-show="showToolbar">
    <div class="title-bar">
        {{multiLan?('选择零件'|translate):'选择零件'}}
        <i class="yb-icon ico-close-o" ng-click="cancel()"></i>
    </div>
    <div class="wrapper-y-xs wrapper-x input-group">
        <input class="drop-down-header form-control" placeholder="{{multiLan?('零件编号/零件中文名'|translate):'零件编号/零件中文名'}}"
            ng-model="condition.keyWords" yb-enter="search()">
        <span class="input-group-addon cursor-pointer" ng-click="search()">{{ multiLan?('搜索'|translate):'搜索' }}</span>
    </div>
    <div class="wrap has-head border-t" ng-style="{'top':'90px'}">
        <table class="table tb-sm no-border border-none">
            <thead>
            <tr>
                <th width="150">
                    {{multiLan?('零件编号'|translate):'零件编号'}}
                </th>
                <th width="168">
                    {{multiLan?('零件中文名'|translate):'零件中文名'}}
                </th>
            </tr>
            </thead>
        </table>
        <div class="materials_td">
            <table class="table tb-sm no-border border-none">
                <tbody>
                <tr ng-repeat="item in dataList track by $index">
                    <td width="150" class="border-b-none spill-dots" ng-class="{'border-t-none': $index === 0}"
                        title="{{item.materialsNo}}">
                        <div yb-check-box yb-checked="item.isSelected" yb-check-name="{{item.materialsNo}}"
                             yb-click="choseMateriel(item)" yb-disabled="item.checkDisable" custom-width="125px"></div>
                    </td>
                    <td width="150" class="border-b-none spill-dots" ng-class="{'border-t-none': $index === 0}"
                        title="{{item.materialsDes}}">
                        {{item.materialsDes}}
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="btn-bar">
        <div yb-page-info ng-model="mPageInfo" yb-refresh="changePage()" page-size-options="[10, 20, 30, 40, 50]"></div>
    </div>
</div>
